package com.ithuang.websocket.dao;

import com.ithuang.websocket.config.Message;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

import java.util.List;
@Mapper
@Repository
public interface Daomessage {
    @Select("select  * from  message")
    public List<Message> getMessage();
}
